package dome2;

public class TestDemo {

//    final int a = 10;
//    a = 20;

    public static void main(String[] args) {
        final int[] array = new int[]{1,2,3};
        //array = new int[]{11,22,33};
        array[0] = 199;
    }


    public static void main2(String[] args) {
        Cat cat = new Cat("小七",3);
       // System.out.println("==============");
        Cat cat2 = new Cat("小期",4);
    }


    public static void main1(String[] args) {
        Cat cat = new Cat("小期",4);
        cat.eat();
        cat.miaiomiao();

        System.out.println("============");

        Dog dog = new Dog("旺财",3);
        dog.eat();
        dog.wag();
    }
}
